import React from 'react';
import {HashRouter as Router, Route} from 'react-router-dom';
import AppLayout from './layout';
import HomePage from 'pages/home';
import AboutPage from 'pages/about';
import FormPage from 'pages/form';

export default class AppRouter extends React.Component {
  render() {
    return (
      <Router>
        <AppLayout>
          <Route exact path="/" component={HomePage}/>
          <Route exact path="/about" component={AboutPage}/>
          <Route exact path="/form" component={FormPage}/>
        </AppLayout>
      </Router>
    )
  }
}
